#pragma once
#include "DataPreprocessor.h"
#include "PatternCalibrationProcess.h"
#include <vector>

class ReconstructProcess
{
public:
	ReconstructProcess ();
	~ReconstructProcess ();

	void initialize ();
	void clean ();
	void addSensor (SensorDataInput *pSensor);
	void setFile (std::string file);

	bool grabNewFrameAndProcess ();
private:
	std::string _file;
	SensorDataInput * _pSensor;
	SensorResource _sensorResource;

	DataPreprocessor _dataProcessor;
	PatternCalibrationProcess _calibrator;

	void _grabFrame ();
	void _preprocess ();
};